package cn.wenzy.aurora.admin.modules.organization.enums;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.EnumValue;

public enum Sex {
    MALE("MALE", "男性"),
    FEMALE("FEMALE", "女性"),
    UNKNOWN("UNKNOWN", "未知"),
    ;

    @EnumValue
    @JSONField(value = true)
    private String code;

    private String desc;

    Sex(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

}
